#pragma once
#include "vector"
#include "fstream"
#include "string"
using namespace std;


class Pyramid
{
private:
	vector<vector<unsigned int>> map;
	static bool contain(unsigned int cellState,unsigned int something);
	static unsigned int addProperty(unsigned int &cellState,unsigned int something);
	int nRow;
	int nCol;
public:
	
	static unsigned int const NOTHING=		0x00000000;
	static unsigned int const GOLD=			0x00000001;
	static unsigned int const MUMMY=		0x00000010;
	static unsigned int const PIT=			0x00000100;
	static unsigned int const STENCH =		0x00001000;
	static unsigned int const BREEZY =		0x00010000;

	int getNRow();
	int getNCol();
	void loadMap(char* filename);
	Pyramid(void);
	~Pyramid(void);

	bool containAt(int x,int y,unsigned int something);
};

